home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / swingall.jar / javax / swing / tree / TreeSelectionModel.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-07-15  |  1.4 KB  |  65 lines

  1. package javax.swing.tree;
  2.  
  3. import java.beans.PropertyChangeListener;
  4. import javax.swing.event.TreeSelectionListener;
  5.  
  6. public interface TreeSelectionModel {
  7.    int SINGLE_TREE_SELECTION = 1;
  8.    int CONTIGUOUS_TREE_SELECTION = 2;
  9.    int DISCONTIGUOUS_TREE_SELECTION = 4;
  10.  
  11.    void addPropertyChangeListener(PropertyChangeListener var1);
  12.  
  13.    void addSelectionPath(TreePath var1);
  14.  
  15.    void addSelectionPaths(TreePath[] var1);
  16.  
  17.    void addTreeSelectionListener(TreeSelectionListener var1);
  18.  
  19.    void clearSelection();
  20.  
  21.    TreePath getLeadSelectionPath();
  22.  
  23.    int getLeadSelectionRow();
  24.  
  25.    int getMaxSelectionRow();
  26.  
  27.    int getMinSelectionRow();
  28.  
  29.    RowMapper getRowMapper();
  30.  
  31.    int getSelectionCount();
  32.  
  33.    int getSelectionMode();
  34.  
  35.    TreePath getSelectionPath();
  36.  
  37.    TreePath[] getSelectionPaths();
  38.  
  39.    int[] getSelectionRows();
  40.  
  41.    boolean isPathSelected(TreePath var1);
  42.  
  43.    boolean isRowSelected(int var1);
  44.  
  45.    boolean isSelectionEmpty();
  46.  
  47.    void removePropertyChangeListener(PropertyChangeListener var1);
  48.  
  49.    void removeSelectionPath(TreePath var1);
  50.  
  51.    void removeSelectionPaths(TreePath[] var1);
  52.  
  53.    void removeTreeSelectionListener(TreeSelectionListener var1);
  54.  
  55.    void resetRowSelection();
  56.  
  57.    void setRowMapper(RowMapper var1);
  58.  
  59.    void setSelectionMode(int var1);
  60.  
  61.    void setSelectionPath(TreePath var1);
  62.  
  63.    void setSelectionPaths(TreePath[] var1);
  64. }
  65.